﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    /// <summary>
    /// Represents alls information about these Role is exits in Forum
    /// </summary>
    public class Role
    {
        #region Variable Private
        private byte _roleID;
        private string _roleName;
        private string _description; 
        #endregion

        #region Properties Public
        public byte RoleID
        {
            get { return _roleID; }
            set { _roleID = value; }
        }
        public string RoleName
        {
            get { return _roleName; }
            set { _roleName = value; }
        }
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }        
        #endregion

        #region Constructor
        public Role() { }
        public Role(string roleName, string description)
        {
            this.RoleName = roleName;
            this.Description = description;
        } 
        public Role(byte roleId, string roleName, string description)
        {
            this.RoleID = roleId;
            this.RoleName = roleName;
            this.Description = description;
        } 
        #endregion
    }
}
